{template header}
<link type="text/css" rel="stylesheet" href="{$TS_APP.tpl.css}/index.css" />
<div class="midder">

<div style="height:30px;"></div>

<div class="qi_c_c">
<div class="qi_c_cleft">

<h2>搜索你想要的小组 &nbsp; ·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;</h2>
<form method="get" action="index.php">

<input type="hidden" name="app" value="group" />
<input type="hidden" name="ac" value="search" />

<div class="tc">
<input type="text" length="36" size="30" name="q" class="input_search pl2" style="width: 350px;" gtbfieldid="2">
<br />
<input type="submit" class="butt" name="ts" value="搜索小组" /> 
<input type="submit" class="butt" name="ts" value="搜索话题" />

</div>

<div class="tc pl" style="margin-top: 20px; margin-bottom: 40px;">（你能在这里搜索任何你感兴趣的小组，如"<a href="index.php?app=group&ac=search&q=thinksaas&ts=搜索小组">thinksaas</a>"、"<a href="index.php?app=group&ac=search&q=php&ts=搜索小组">php</a>"、"<a href="index.php?app=group&ac=search&q=mysql&ts=搜索小组">mysql</a>"等）</div>
</form>

<h2>推荐小组 &nbsp; ·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;</h2>


<div class="indent obssin">
<!--{if $arrRecommendGroup}-->
<!--{loop $arrRecommendGroup $key $item}-->

<dl class="ob">
<dt><a href="{$TS_URL[group]}{$item[groupid]}{$TS_URL[suffix]}"><img alt="{$item[groupname]}" class="m_sub_img" src="{$item[groupicon]}" width="48" /></a></dt>
<dd><a href="{$TS_URL[group]}{$item[groupid]}{$TS_URL[suffix]}">{$item[groupname]}</a> <span>({$item[count_user]}{if $item[uptime]>strtotime(date('Y-m-d 00:00:00'))}/<font color="orange">{$item[count_topic_today]}</font><!--{else}--><!--{/if}-->)</span>
</dd>
</dl>

<!--{/loop}-->
<!--{/if}-->

<br>

</div>

<div class="clear"></div>

<h2>小组分类 &nbsp; ·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;</h2>

<div style="clear: both;" class="indent cates">

<ul>
<!--{if $arrCate}-->
<!--{loop $arrCate $key $item}-->
<li>
<div class="dirsp"><a href="{$TS_URL[cate]}{$item[cateid]}{$TS_URL[suffix]}"><span>{$item[catename]}</span></a><span>({$item[count_group]})</span><br />
<!--{if $item[cates]}-->
<!--{loop $item[cates] $tkey $titem}-->
<a href="{$TS_URL[cate]}{$titem[cateid]}{$TS_URL[suffix]}">{$titem[catename]}</a>({$titem[count_group]}) &nbsp;
<!--{/loop}-->
<!--{/if}-->
</div>
</li>
<!--{/loop}-->
<!--{/if}-->
</ul>


</div>

<div class="clear"></div>

</div>

<div class="qi_c_cright">

<p class="pl2">&gt; <a href="index.php?app=group&ac=create">申请创建小组</a></p>
<br />

<h2>新成立 &nbsp; ·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;</h2>

<div class="indent">
<!--{if $arrNewGroup}-->
<!--{loop $arrNewGroup $key $item}-->
<a href="{$TS_URL[group]}{$item[groupid]}{$TS_URL[suffix]}">{$item[groupname]}</a> ({$item[count_user]}<!--{if $item[uptime]>strtotime(date('Y-m-d 00:00:00'))}-->/<font color="orange">{$item[count_topic_today]}</font><!--{else}--><!--{/if}-->)<br>
<!--{/loop}-->
<!--{/if}-->
</div>

<div class="clear"></div>

</div>
</div>
</div>
{template footer}